import  {request}  from '@/network/request';
import mockrequest from '@/network/mock';

export function linkage(){
  return request({
    url: "/product/getBaseCategoryList",
    method: "get"
  })
}
//轮播图
export function getbanner(){
  return mockrequest({
    url: '/banner',
    method: 'get'
  })
}
//获取floor数据
export function reqFloorList(){
  return mockrequest({
    url: '/floor',
    method: 'get'
  })
} 
//商品列表页面
export function goodsList(params){
  return request({
    url: '/list',
    method: 'post',
    data: params
  })
}